package structural.proxy;

/**
 * @Description: 校园网代理
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class ProxyNet implements Net {
    private SchoolNet schoolNet;

    public ProxyNet() {
        schoolNet = new SchoolNet();
    }

    public void connect() {
        schoolNet.connect();
    }

    public void transfer() {
        schoolNet.transfer();
    }

    public void disconnect() {
        schoolNet.disconnect();
    }
}
